#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

class Foo:  pass

class Bar(Foo): pass

hello = "world"
print(isinstance(hello, str))

f1 = Foo()
print(isinstance(f1, Foo))  # True
print(isinstance(f1, str))  # False

print(issubclass(Bar, Foo))